package ModelLayer;

/**
 * The Kunde class is a
 * class that contains information
 * about a customer in the store.
 * */
public class Kunde {
	private String navn;
	private String konto;
	private String addresse;
	private String tlf;
	private int kundeRabat;
	private String email;
	
	/**
	 * When creating a costumer then the following parameters are
	 * needed.
	 * @param String navn, String konto, String adresse, String tlf, int kunderabat, String email.
	 * */
	public Kunde(String navn, String konto, String addresse, String tlf, int kundeRabat, String email)
	{
		this.navn = navn;
		this.konto = konto;
		this.addresse = addresse;
		this.tlf = tlf;
		this.kundeRabat = kundeRabat;
		this.email = email;
	}
	/**
	 * Set and get navn
	 * @param String navn
	 * */
	public void setNavn(String n){
		this.navn = n;
	}
	public String getNavn(){
		return navn;
	}
	/**
	 * Set and get konto
	 * @param String konto
	 * */
	public void setKonto(String k){
		this.konto = k;
	}
	public String getKonto(){
		return konto;
	}
	/**
	 * Set and get Addresse
	 * @param String addresse
	 * */
	public void setAddresse(String a){
		this.addresse = a;
	}
	public String getAddresse(){
		return this.addresse;
	}
	/**
	 * Set and get tlf
	 * */
	public void setTlf(String tlf){
		this.tlf = tlf;
	}
	public String getTlf(){
		return this.tlf;
	}
	/**
	 * Set and get kundeRabat
	 * @param int kundeRabat
	 * */
	public void setKundeRabat(int kr){
		this.kundeRabat = kr;
	}
	public int getKundeRabat(){
		return this.kundeRabat;
	}
	/**
	 * Set and get email
	 * */
	public void setEmail(String mail){
		this.email = mail;
	}
	public String getEmail(){
		return this.email;
	}
}
